home *** CD-ROM | disk | FTP | other *** search
- .key PATTERN/A,DESTDIR/A,8BIT/S,INTEL/S
- .bra {
- .ket }
-
- ; This script can convert many RAW files to Studio 16 files based
- ; on pattern matching.
- ;
- ; $VER: ConvertRAW2Studio 1.0 (11.11.97)
- ; By Kenneth "Kenny" Nilsen (kenny@bgnett.no)
- ;
- ; USAGE: ConvertRAW2Studio <pattern> <destdir/> [8BIT] [INTEL]
- ;
- ; NOTE: The commands must be in the command search path. To be safe
- ; copy the commands in C: or add the path where you keep the commands to
- ; the global search path (startup-sequence: path <path> ADD).
-
- ;-- convert files
-
- if {8BIT}
- if {INTEL}
- list {pattern} files lformat="echo *"Processing file '%N'...*"*nRAW2STUDIO %P%N {DESTDIR}%M.MONO -8 -i" >t:tmp.16
- skip Ok
- endif
- list {pattern} files lformat="echo *"Processing file '%N'...*"*nRAW2STUDIO %P%N {DESTDIR}%M.MONO -8" >t:tmp.16
- else
- if {INTEL}
- list {pattern} files lformat="echo *"Processing file '%N'...*"*nRAW2STUDIO %P%N {DESTDIR}%M.MONO -i" >t:tmp.16
- skip Ok
- endif
- list {pattern} files lformat="echo *"Processing file '%N'...*"*nRAW2STUDIO %P%N {DESTDIR}%M.MONO" >t:tmp.16
- endif
-
- lab Ok
-
- echo "Converting RAW file(s) to Studio 16 files.. Please wait!"
-
- execute t:tmp.16
-
- delete t:tmp.16 >nil:
-
- echo "Done"
-
- lab Final
-